Skip to content

Updating jsts dependency for react-native compatibility#31

Open
vespakoen wants to merge 2 commits intoTurfjs:masterfrom
vespakoen:master
Open

Updating jsts dependency for react-native compatibility#31
vespakoen wants to merge 2 commits intoTurfjs:masterfrom
vespakoen:master

Conversation

@vespakoen
Copy link
Copy Markdown

@vespakoen vespakoen commented Apr 8, 2016

Hi,

The current version of jsts that this package uses exports a global (jsts) unexplicitly (i.e., not window.jsts)

This breaks the package in (react native's) strict mode.

I updated the dependency and used the GeoJSONWriter (the GeoJSONParser is gone in the latest version of jsts).

When shrinkwrapping I got weird results (probably because I am using npm@3?) It adds all dependencies (including devDependencies) to the shrinkwrap, and marks jsts as @latest, I guess the idea is that it locks it at a specific version, so I guess we will have to update the npm-shrinkwrap.json manually.

Thanks for turf, I enjoy using it a lot

@vkarpov15
Copy link
Copy Markdown

+1

3 similar comments
@emgeee
Copy link
Copy Markdown

emgeee commented May 13, 2016

+1

@diegonetto
Copy link
Copy Markdown

+1

@alexhidalgo
Copy link
Copy Markdown

+1

@jaketangosierra
Copy link
Copy Markdown

+1 Would love to see this occur.

@ghengeveld
Copy link
Copy Markdown

(bump) +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants